package base.day12;

public class StringBuilder1 {
    public static void main(String[] args) {
        StringBuilder sb =new StringBuilder();
        sb.append("红色").append("蓝色").append("绿色");
        System.out.println("反转前--"+sb);
        sb.reverse();
        System.out.println("反转后--"+sb);

        String st = sb.toString();
        System.out.println(st);
    }
}
